package com.cxps.server.inventory.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cxps.cloud.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品库存信息表实体对象
 * </p>
 *
 * @author YouCai.Liu
 * @since 2021-11-02
 */
@Data
@TableName("kc_inventory_info")
public class InventoryInfoEntity extends BaseEntity {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 商品ID
     */
    private String productId;

    /**
     * 可用库存
     */
    private Integer usableInventory;

    /**
     * 锁定库存
     */
    private Integer lockInventory;

    /**
     * 库存预警最小值
     */
    private Integer inventoryMin;

    /**
     * 库粗预警最大值
     */
    private Integer inventoryMax;

}
